

<!DOCTYPE HTML>
<html style="padding-bottom: 54px;">
<head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">

    <title>jQuery cxSelect 多级联动下拉菜单</title>
    <meta name="description" content="cxSelect 是基于 jQuery 的多级联动菜单插件，适用于省市、商品分类等联动菜单。

列表数据通过 AJAX 获取（需要在服务器环境运行），也可以使用变量自定义，数据内容使用 JSON 格式。

国内省市县数据来源：basecss/cityData Date: 2014.03.31

全球主要城市数据来源：整理国内常用网站和软件 Date: 2014.07.29" />
    <meta name="keywords" content="jQuery ，cxSelect ，多级联动，下拉菜单" />
    <link rel="Shortcut icon" href="//www.jq22.com/favicon.ico" />
    <link href="css/demo.css?v4" rel="stylesheet" media="all" />
    <!--[if IE]>
			
			<style type="text/css">			
				li.purchase a {
					padding-top: 5px;
					background-position: 0px -4px;
				}
				
				li.remove_frame a {
					padding-top: 5px;
					background-position: 0px -3px;
				}						
			</style>
			
		<![endif]-->

    <style>
        .fdad a{color:#000;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.fdad{top:66px;}.xgcj li{font-size:14px;line-height:20px;list-style-type:none;transition:all 1s ease 0s;border-radius:5px;}.xgcj li:hover{background-color:#e4e4e4;}.xgcj{background-color:rgba(255,255,255,.3);overflow-x:hidden;}.xgcj ul{padding:10px}.xgcj h3{line-height:30px;}.xgcj p{padding-left:20px;font-size:13px;display:none;}.xgcj span{font-family:"宋体";}.xgcj li:hover p{display:block;}
    </style>
    <script type="text/javascript">
        var txt = "https://www.jq22.com/demo/cxSelect-master-150521001453";
        window.g1 = txt.substr(0, 3);
        window.g2 = txt.substr(0, 19);
    </script>
    <script src="js/pace.min.js" charset="gbk"></script>
    <link href="css/pace-theme-barber-shop.css" rel="stylesheet" />
    <script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/1.10.2/jquery.min.js"></script>
    <script src="js/jquery.qrcode.min.js"></script>
    <script type="text/javascript">
        var dqfl = "输入,其他";
        var theme_list_open = false;

        $(document).ready(function () {
            function fixHeight() {
                var headerHeight = $("#switcher").height();
                $("#iframe").attr("height", $(window).height() - 54 + "px");
            }
            $(window).resize(function () {
                fixHeight();
            }).resize();

            $('.icon-monitor').addClass('active');

            $(".icon-mobile-3").click(function () {
                $("#by").css("overflow-y", "auto");
                $('#iframe-wrap').removeClass().addClass('mobile-width-3');
                $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
                $(this).addClass('active');
                return false;
            });

            $(".icon-mobile-2").click(function () {
                $("#by").css("overflow-y", "auto");
                $('#iframe-wrap').removeClass().addClass('mobile-width-2');
                $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
                $(this).addClass('active');
                return false;
            });
               

            $(".icon-mobile-1").click(function () {
                $("#by").css("overflow-y", "auto");
                $('#iframe-wrap').removeClass().addClass('mobile-width');
                $('.icon-tablet,.icon-mobile,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
                $(this).addClass('active');
                return false;
            });

            $(".icon-tablet").click(function () {
                $("#by").css("overflow-y", "auto");
                $('#iframe-wrap').removeClass().addClass('tablet-width');
                $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
                $(this).addClass('active');
                return false;
            });

            $(".icon-monitor").click(function () {
                $("#by").css("overflow-y", "hidden");
                $('#iframe-wrap').removeClass().addClass('full-width');
                $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
                $(this).addClass('active');
                return false;
            });

            if (dqfl.indexOf("APP模板") != -1) {
                $("#by").css("overflow-y", "auto");
                $('#iframe-wrap').removeClass().addClass('mobile-width-2');
                $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
                $(this).addClass('active');
                return false;
            }      
        });
    </script>
    <script type="text/javascript">
        function Responsive($a) {
            if ($a == true) $("#Device").css("opacity", "100");
            if ($a == false) $("#Device").css("opacity", "0");
            $('#iframe-wrap').removeClass().addClass('full-width');
            $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
            $(this).addClass('active');
            return false;
        };
    </script>
</head>
<body id="by" style="overflow-y: hidden">
    <div id="switcher">
        <div class="center">
            <ul>
                <li class="logoTop" id="sj2"><a href="https://www.jq22.com/jquery-info3238">jQuery cxSelect 多级联动下拉菜单</a></li>
                <div id="Device">
                    <li class="device-monitor"><a href="javascript:">
                        <div class="icon-monitor">
                        </div>
                    </a></li>
                    <li class="device-mobile"><a href="javascript:">
                        <div class="icon-tablet">
                        </div>
                    </a></li>
                    <li class="device-mobile"><a href="javascript:">
                        <div class="icon-mobile-1">
                        </div>
                    </a></li>
                    <li class="device-mobile-2"><a href="javascript:">
                        <div class="icon-mobile-2">
                        </div>
                    </a></li>
                    <li class="device-mobile-3"><a href="javascript:">
                        <div class="icon-mobile-3">
                        </div>
                    </a></li>
                </div>
                <li class="top2" id="sj"><a href="#">手机二维码预览</a><div class="vm">
                    <div id="output"></div>
                    <p style="color: #808080">扫一扫，直接在手机上打开</p>
                </div>
                </li>
                

                <script>
                    jQuery('#output').qrcode({ width: 150, height: 150, text: window.location.href });
                </script>
                <li class="remove_frame" style="display:n"><a href="https://www.jq22.com/demo/cxSelect-master-150521001453" title="移除框架"></a></li>

            </ul>
        </div>
    </div>
    <div id="iframe-wrap">
        <iframe id="iframe" src="https://www.jq22.com/demo/cxSelect-master-150521001453" frameborder="0" width="100%"></iframe>
    </div>

    <div class="fdad">
        <div class="fdl">Advertisement</div>
        <div class="fdr">x</div>
        <div class="fdadnr">
           <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
            <!-- 336x280 -->
            <ins class="adsbygoogle"
                 style="display:inline-block;width:336px;height:280px"
                 data-ad-client="ca-pub-2935286260943234"
                 data-ad-slot="6063645905"></ins>
            <script>
                (adsbygoogle = window.adsbygoogle || []).push({});
            </script> 
        <div class="xgcj">
            <ul>
                <div style="width:100%">
                    <div style="float:left"><h3>相关插件</h3></div>
                    <div style="clear: left;"></div>
                </div>
                
                        <li>
                            <a href="https://www.jq22.com/jquery-info13866"><span>&gt;</span> vue2.0实现全选，全不选。</a>
                            <p>当单个选中所有时，全选自动变成全选状态；当全选后，取消其中一个，全选状态改变。</p>
                        </li>
                    
                        <li>
                            <a href="https://www.jq22.com/jquery-info20928"><span>&gt;</span> jQuery表单元素美化</a>
                            <p>richUI单选按钮，复选框，下拉框，css美化</p>
                        </li>
                    
                        <li>
                            <a href="https://www.jq22.com/jquery-info21736"><span>&gt;</span> jQuery多级联动选择器</a>
                            <p>一款多级联动选择器，可自定义层级</p>
                        </li>
                    
                        <li>
                            <a href="https://www.jq22.com/jquery-info14930"><span>&gt;</span> jQuery城市下拉选择</a>
                            <p>jQuery下拉方式选择城市,带搜索、单选、多选。</p>
                        </li>
                    
                        <li>
                            <a href="https://www.jq22.com/jquery-info19744"><span>&gt;</span> jQuery国籍选择器（包含国籍代码）</a>
                            <p>jQuery国籍选择，数据是全的，排过序</p>
                        </li>
                    
            </ul>
        </div>
    </div>


    <script type="text/javascript">
                $(document).ready(function () {
                    $(".fdr").click(function () {
                        $(".fdad").hide();
                    });
                });
    </script>

    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "//hm.baidu.com/hm.js?b3a3fc356d0af38b811a0ef8d50716b8";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>

</body>
</html>
